package com.xkdx.guangguang.fragment.brand.photo;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

import com.xkdx.guangguang.module.network.AbsAction;
import com.xkdx.guangguang.module.statics.IConstants;

public class BrandPhotosAction extends AbsAction {
	String position, brandID;

	public BrandPhotosAction(String brandID) {
		this.brandID = brandID;
	}

	@Override
	public void constructRequest() {
		HashMap<String, String> map = new HashMap<String, String>();
		map.put("DeviceID", "2");
		map.put("BrandID", brandID);
		map.put("PageIndex", "1");
		map.put("PageSize", "10000");
		map.put("RefreshTime", IConstants.getPhotoTime());
		String json = constructJson(map);
		Parameter parameter = new Parameter("galleryInterface",
				"getPhotoListByBrandAll", json);

		List<Parameter> list = new ArrayList<Parameter>();
		list.add(parameter);
		requestData = constructMod(list);

	}

}
